:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --light: #f8fafc;
    --dark: #0f172a;
}

body {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    min-height: 100vh;
    font-family: 'Noto Sans SC', sans-serif;
}

.forum-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.forum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.topic-item {
    transition: all 0.2s ease;
}

.topic-item:hover {
    background-color: rgba(243, 244, 246, 0.8);
    transform: scale(1.01);
}

.badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 9999px;
    font-weight: 600;
}

.badge-hot {
    background-color: #ef4444;
    color: white;
}

.badge-new {
    background-color: #10b981;
    color: white;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.breadcrumb-item {
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: 8px;
    top: 0;
    color: #94a3b8;
}

.back-button {
    transition: all 0.2s ease;
}

.back-button:hover {
    transform: translateX(-3px);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (max-width: 768px) {
    .forum-grid {
        grid-template-columns: 1fr;
    }
}